package o;

import com.huawei.hwid.core.constants.HwAccountConstants;
import java.text.DateFormat;
import java.text.SimpleDateFormat;
import java.util.Locale;

public class aty {
    public static DateFormat ॱ(int i, int i2) {
        return new SimpleDateFormat(ˋ(i) + HwAccountConstants.BLANK + ˏ(i2), Locale.US);
    }

    private static String ˋ(int i) {
        switch (i) {
            case 0:
                return "EEEE, MMMM d, yyyy";
            case 1:
                return "MMMM d, yyyy";
            case 2:
                return "MMM d, yyyy";
            case 3:
                return "M/d/yy";
            default:
                throw new IllegalArgumentException("Unknown DateFormat style: " + i);
        }
    }

    private static String ˏ(int i) {
        switch (i) {
            case 0:
            case 1:
                return "h:mm:ss a z";
            case 2:
                return "h:mm:ss a";
            case 3:
                return "h:mm a";
            default:
                throw new IllegalArgumentException("Unknown DateFormat style: " + i);
        }
    }
}
